using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using MoveTheCar.View;
using MoveTheCar.ViewModel;

namespace MoveTheCar
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        DifficultyWindow window;
        MainWindow window2;
        MainViewModel viewmodel;

        public App()
        {
            window = new DifficultyWindow();
            window2 = new MainWindow();
            viewmodel = new MainViewModel(window, window2);

            window.DataContext = viewmodel;
            window2.DataContext = viewmodel;
            window.Show();
        }
    }
}